Skip to content

Cron job #898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Cron job #898

wants to merge 8 commits into from

Conversation

Tevetron
Copy link
Collaborator

no database modifications

Test Procedure

the scraper runs at the beginning of every hour. you may wait for the cron job to start and then check "/var/log/cron.log" to see if it is working. It should print "Our test works at", <datetime.now()>)". If you do not want to wait, you can test to ensure that the python script works by running the following command in the docker container.
"/usr/local/bin/python3 /usr/src/no_login.py"
Note that this is not testing if cron is running the job automatically, but rather that the scraper is functioning as expected within the docker container.

cron job is working now and containerized. it is added to the development yml so that it will start up with the other containers
prep branch for pull request by removing changes that are not necessary to the functionality of the cron job
when certain errors occur we make note of it rather than just crashing and ending our scrape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant